import 'dart:js_util';

import 'package:flutter_model_package/TuitionService.dart';
import 'package:flutter_model_package/parse_base.dart';
import 'package:flutter_model_package/school.dart';
import 'package:parse_server_sdk/parse_server_sdk.dart';

class TuitionServicePackage extends MSParseBase {
  TuitionServicePackage() : super("TuitionServicePackage");
  TuitionServicePackage.cloe() : this();

  @override
  TuitionServicePackage clone(Map<String, dynamic> map) => TuitionServicePackage.cloe()..fromJson(map);

  String serviceCode(List<TuitionService> list) {
    if(list==null || list.length==0) return "undefined";
    // return [this.objectId,list.map((i) => i instanceof( TuitionService, type))
  }
   QueryBuilder forSchool(School school){
    return QueryBuilder.or(this, [

    ]);
  }
}